use javascript only