Ported base conversion functions to javascript
Added a file that will contain all the actual core js features