Appends the server side js code.