precompile modification in Js for sync_source