doing some JSHinting