V: JS function for screen sizes

Signed-off-by: Predrag Kanazir <predrag@arraystudio.com>