various js fixes
Merge pull request #8 from BrandyMint/aleksxor/various-fixes

various js fixes