Moved to hosted js file