Fixes #2

Add default type "text/javascript" to script without a type returned by pjax.
Should fix #2