cleanup for jscompile