oops, put javascript inside a php block

momentarily broke https://github.com/instanttim/monitormate/issues/21