JS resources and implementation of JS different features