fix for javascript issues?