Placing the app javascript to an external file.