Organized the javascript's directory