isolate bitpremier.js from hive specific API

Closes #5 for realz