updates: javascript files to ensure a proper communication with bitcredits, refactors bunch of other files and removes dummy from git