Move elasticsearch javascript resources to top level of assets