closes #694: usage {% javascript %} javascript goes here {% endjavascript %}