add nice macro for linting javascript code