I know it's not required, but I think it's helpful to avoid accident: can you make sure the javascript lines always end with ';'?