adding some JS stuff