Merge pull request #1285 from Kosmin/patch-1

Update system/libraries/Javascript.php