New js file created 

New js file created to solve initialize problem