added some js love