Auto add js extension