added some fancy js