change js inline to skin js folder and fix some on model