better way of preventing js scripts caching