A simple JS loader