made valid js, maybe?