support extend javascript for login https://gist.github.com/jollychang/8972186
Merge pull request #2 from jollychang/master

add reset_iphone_simulator and support extend javascript