Update include.js

Fixed - It wasn't working on Chrome. Added dependency on in_array()