javascript fixx