js assets rework