parse the js and coffee file line by line

so it can be much faster for big js and coffee file