Perlito5 - js - code cleanup