Fixed invisible head when hair style is 0
Really improve file search in GRFs
.indexOf is slow when trying to find an offset in the data buffer, I changed it to a hacky Binary Search algorythm.
The result is a function that can be executed more than 40 times faster (100 times faster in Firefox) - got 1sec boost on map loading.
http://jsperf.com/indexof-sequential-confition