Corrected (module: 'polls' not found) by putting script tags in index.jade