add trace save and difficulty form
some JS about audio and main view changes