find free port for phantomjs at runtime
keep using arrow 0.0.77
add error checking
fix lint errors
correct more jslint errors
Merge pull request #1182 from lzhan/yui

keep using arrow 0.0.77 and find free port for phantomjs at runtime
update arrow to v79
Merge pull request #1188 from lzhan/yui

update arrow to v79