Fix broken Javascript due to wrong merging

This one is my fault. :(