added configuration for Nginx that allows external JS requests