improving the parsing methods in Proj.js

not ready for merging