fixed: don't optimize scripts on the first dev build
fixed js to json conversion