Add a few extra JS rules

Includes 4 spaces for indentation.