Moved js calls