adding some js stuff