[id='executing-scripts_{context}']
= Executing scripts on {brandname} Server

You can add custom scripts, such as the following to {brandname} Server:

[source,javascript,options="nowrap",subs=attributes+]
----
include::code_examples/sample-script.js[]
----

The {hr_js} client can load and execute the sample script as follows:

[source,javascript,options="nowrap",subs=attributes+]
----
include::code_examples/sample-script-execute.js[]
----
