Move smart_time js into new.js and add to precompile