minimal javascript demo