added some js to make it pertier