moved all logic to typescript
unignore main.js
travis build 69