JavaScript fixed