Adding javascript-guidelines and corresponding configs

Added javascript styleguide, .editorconfig and .jshintrc.

plz review @enginyoyen @eliyetu @azadorozhniy