flags
base js template