Adding JavaScript code into the Symfony project