Re-scoped javascript file