simple javascript Run Length Encoding implementation for 4-bytes words.