js bugfix, author added