trying to fix js not running