gui and some js