Javascript code in separate files