Removed the call to smoothstate.js since it's not implemented right now and speed is slow.