Added docs and JavaScript basics&tricks