title: Javascript doesn't work in my localhost using Google App ENgine
body: <p>Im stuck since a week and I allready looked in a million spanish and english forums...</p>
  
  <p>The thing is that Javascript does not work on my localhost when I launch my website from Google App Engine. </p>
  
  <p>If I copy/paste all the html, css and .js files and then I launch in the browser from Notepad++ works perfectly, but for any reason does not work on GAE, and I don´t know why. </p>
  
  <p>The app.yaml works because if I write in the browser: </p>
  
  <p><code>http://localhost:8080/js/script.js</code> , then appear the javascript code.</p>
  
  <p>Here is all my code:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;script type="text/javascript" src="/js/jquery.js"&lt;/script&gt;
  &lt;script type="text/javascript" src="/js/script.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$(document).ready(function() {
      $("#ingles").fadeOut(1000);
  });
  </code></pre>
  
  <p>My app.yaml:</p>
  
  <pre><code>application: juanmamorenoportfolio
  version: 1
  runtime: python27
  api_version: 1
  threadsafe: true
  
  handlers:
  - url: /stylesheets
    static_dir: stylesheets
  
  - url: /images
    static_dir: static_files/images
  
  - url: /js
    static_dir: js
  
  - url: .*
    upload: templates/index.html
    static_files: templates/index.html
  
  libraries:
  - name: webapp2
    version: latest
  - name: jinja2
    version: latest
  </code></pre>
  
  <p>and my main.py (I suspect the problem should be here):</p>
  
  <pre><code>import os
  import webapp2
  import jinja2
  
  jinja_environment = jinja2.Environment(autoescape=True,
      loader=jinja2.FileSystemLoader(os.path.join(os.path.dirname(__file__), 'templates')))
  
  class MainHandler(webapp2.RequestHandler):
      def get(self):
          template = jinja_environment.get_template('index.html')
          self.response.out.write(template.render())
  
  app = webapp2.WSGIApplication([
      ('/', MainHandler)
  ], debug=True)
  </code></pre>
  
  <p>Many thanks!!</p>