Create a common javascript for all applications.