js codestyle cleaned
js inheritance added
use quote instead of tilda