Minor Bugfixes & Added 2. Javascript Example