Splitting up the js file.