Added js-tips

PHP -> JS