Fixes bug with CF9 and dynamic JS