Update include_once.js

Fix problem with Chrome Browser. Not it keep track of the included file by itself using the php_js_shared.includes as array. 
Added dependency on in_array()