Better javascript import on development index