kinda got google js working