changes on js

added register device token funk