trying to javascript errors