Finally works, adding also js to precompilation