different coding
some strange error occurs.
it hasn't got anything to do with the new alarms.js
error resolved missing divs
(document).ready added, should work now