added oclosure js into eliom, require bug fixing