pointless JS micro optimization