fixed javascript block