A overlay javascript component