Move JS to common file.
Adding unicorn configuration.