fixed borked js