Moar stuff!

- Add gitignore
- Clean up code
- Add error output
- Move js bindings
- Load image through JS