adding stupid js stuff