Refactoring

step 1
Refactoring

Step 2
parse.js refectory is done
Refactoring over!