javascript allonge