Update comments for Toggle JS module
Fixed JSHint errors