adding demo and base javascript file